projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd94bc
)
Fix call of registerServicesMenuSendTypes
author
Philipp Stephani
<phst@google.com>
Sat, 20 May 2017 14:56:38 +0000
(16:56 +0200)
committer
Philipp Stephani
<phst@google.com>
Sun, 21 May 2017 19:50:30 +0000
(21:50 +0200)
* src/nsterm.m (initFrameFromEmacs:): nil is not allowed for
returnTypes; pass an empty array instead.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index 6e138b7eb6ce1cd460e8e75e78b2fe443625b5d9..c8320130a875f3d0050a1438dc7bff58c556b870 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-7022,7
+7022,7
@@
not_in_argv (NSString *arg)
[self allocateGState];
#endif
[NSApp registerServicesMenuSendTypes: ns_send_types
- returnTypes:
nil
];
+ returnTypes:
[NSArray array]
];
/* macOS Sierra automatically enables tabbed windows. We can't
allow this to be enabled until it's available on a Free system.